package cn.catsdad.constant.enumConstant;

import lombok.AccessLevel;
import lombok.AllArgsConstructor;
import lombok.Getter;

/**
 * 日志枚举
 *
 * @author xuyonglong
 * @version V1.0 2023/12/12
 */
public class LogEnum {

    /**
     * 日志类型
     *
     * @author xuyonglong
     * @version V1.0 2023/12/12
     */
    @Getter
    @AllArgsConstructor(access = AccessLevel.PRIVATE)
    public enum LogType {
        SYSTEM("system", "系统模块"),
        DEVICE("device", "设备模块"),
        PRO("pro", "业务模块");

        private String loggerName;
        private String name;
    }

    /**
     * 操作类型
     *
     * @author xuyonglong
     * @version V1.0 2023/12/12
     */
    @Getter
    @AllArgsConstructor(access = AccessLevel.PRIVATE)
    public enum OperationType {
        INSERT("插入数据"),
        UPDATE("更新数据"),
        DELETE("删除数据"),
        IMPORT("导入数据"),
        EXPORT("导出数据"),
        COMMIT("提交数据"),
        OTHER("其它");

        private String name;

    }

}
